<%@page errorPage="error.jsp" contentType="text/html" pageEncoding="UTF-8" %>
<%@ include file="header.html" %>
            <h1>Linear Algebra - Vectors</h1>
            <h2>Vector Algebra</h2>
            <form action="display.jsp" method="post">
                Vector <i>V</i> = <textarea name="vectorV" placeholder="{1; 2; 3; 4}" required></textarea>
                Vector <i>W</i> = <textarea name="vectorW" placeholder="{5; 4; 3; 2; 1}" required></textarea>
                <select name="vectorOp">
                    <option value="addition">V+W</option>
                    <option value="subtraction">V-W</option>
                    <option value="ebemultiply">V*W (Element-by-element Mult)</option>
                    <option value="ebedivide">V/W (Element-by-element Div)</option>
                    <option value="dotproduct">V∙W (Dot Product)</option>
                    <option value="scalarAdd">V+W where W = scalar</option>
                    <option value="scalarMult">V*W where W = scalar</option>
                    <option value="distance">Distance between V and W</option>
                    <option value="project">Project V onto W</option>
                    <option value="unitize">Unitize Vector V</option>
                    <option value="outerproduct">Outer Product of VxW</option>
                    <option value="norm">Norm of V</option>
                </select> 
                <input type="hidden" name="requesttype" value="7">
                <input type="submit" value="Submit &raquo;">
            </form>
<%@ include file="footer.html" %>